﻿<!DOCTYPE html>
<html>
<head>
    <title>nopBSBMPCRM</title>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    <link href="/Administration/Content/styles.css" rel="stylesheet" type="text/css" />
    <script src="/Administration/Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="/Administration/Scripts/jquery.unobtrusive-ajax.min.js" type="text/javascript"></script>
    <script src="/Administration/Scripts/jquery.validate.min.js" type="text/javascript"></script>
    <script src="/Administration/Scripts/jquery.validate.unobtrusive.min.js" type="text/javascript"></script>
    <script src="/Administration/Scripts/admin.common.js" type="text/javascript"></script>
</head>
<body>
    <div class="master-wrapper-page">
        <div class="master-wrapper-content">
            <script type="text/javascript">
                $(document).ready(function () {
                    $("#restart-application").click(function (e) {
                        showThrobber('Restarting the application...');
                    });
                });
            </script>
            <div class="header">
                <div class="logo">
                </div>
                <div class="languageselector">
                </div>
                <div class="links">
                    <a href="#">清除缓存</a>
                </div>
                <div class="login-info">
                    您好: admin@yourstore.com , <a href="#">退出?</a>
                </div>
                <div class="version">
                    <span>Enterprise CRM 1.0</span>
                </div>
            </div>
            <div class="clear">
            </div>
            <div class="header-menu">
                <ul class="t-widget t-reset t-header t-menu" id="Admin">
                    <li class="t-item t-highlighted t-state-default"><a class="t-link" href="index.htm"><img alt="image" class="t-image" src="/Administration/Content/images/ico-dashboard.png" />后台中心</a></li>
                    <li class="t-item t-state-default"><span class="t-link"><img alt="image" class="t-image" src="/Administration/Content/images/ico-customers.png" />客户管理<span class="t-icon t-arrow-down"></span></span>
                        <ul class="t-group">
                            <li class="t-item t-state-default"><a class="t-link" href="CustomerList.htm">我的客户</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="CustomerList.htm">共享客户</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="CustomerList.htm">所有客户</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="CustomerList.htm">客户投诉</a></li>
                        </ul>
                    </li>
                    <li class="t-item t-state-default"><span class="t-link"><img alt="image" class="t-image" src="/Administration/Content/images/ico-dashboard.png" />联系人管理<span class="t-icon t-arrow-down"></span></span>
                        <ul class="t-group">
                                <li class="t-item t-state-default"><a class="t-link" href="ContactsList.htm">联系人</a></li>
                                <li class="t-item t-state-default"><a class="t-link" href="#">联系人组</a></li>
                                <li class="t-item t-state-default"><a class="t-link" href="#">短信群发</a></li>
                                <li class="t-item t-state-default"><a class="t-link" href="#">邮件群发</a></li>
                            </ul>
                    </li>
                    <li class="t-item t-state-default"><span class="t-link"><img alt="image" class="t-image" src="/Administration/Content/images/ico-promotions.png" />销售管理<span class="t-icon t-arrow-down"></span></span>
                        <ul class="t-group">
                            <li class="t-item t-state-default"><a class="t-link" href="SalesListOpportunity.htm">销售机会</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">销售目标</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">报价管理</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">合同管理</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">发货申请</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">开票申请</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">应收账款</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">收款管理</a></li>
                        </ul>
                    </li>
                    <li class="t-item t-state-default"><span class="t-link"><img alt="image" class="t-image" src="/Administration/Content/images/ico-catalog.png" />采购管理<span class="t-icon t-arrow-down"></span></span>
                        <ul class="t-group">
                            <li class="t-item t-state-default"><a class="t-link" href="#">采购订单</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">入库申请</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">采购发票</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">付款申请</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">供应商管理</a></li>
                        </ul>
                    </li>
                    <li class="t-item t-state-default"><span class="t-link"><img alt="image" class="t-image" src="/Administration/Content/images/ico-content.png" />库存管理<span class="t-icon t-arrow-down"></span></span>
                        <ul class="t-group">
                            <li class="t-item t-state-default"><a class="t-link" href="#">入库管理</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">发货管理</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">库存管理</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">退货管理</a></li>  
                        </ul>
                    </li>
                    <li class="t-item t-state-default"><span class="t-link"><img alt="image" class="t-image" src="/Administration/Content/images/ico-content.png" />产品管理<span class="t-icon t-arrow-down"></span></span>
                        <ul class="t-group">
                            <li class="t-item t-state-default"><a class="t-link" href="#">产品列表</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">产品结构</a></li>
                        </ul>
                    </li>
                    <li class="t-item t-state-default"><span class="t-link"><img alt="image" class="t-image" src="/Administration/Content/images/ico-catalog.png" />财务管理<span class="t-icon t-arrow-down"></span></span>
                        <ul class="t-group">
                            <li class="t-item t-state-default"><a class="t-link" href="#">收款管理</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">付款管理</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">发票管理</a></li>
                        </ul>
                    </li>
                    <li class="t-item t-state-default"><span class="t-link"><img alt="image" class="t-image" src="/Administration/Content/images/ico-configuration.png" />审批流程管理<span class="t-icon t-arrow-down"></span></span>
                        <ul class="t-group">
                            <li class="t-item t-state-default"><a class="t-link" href="#">我的申请</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">我的审批</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">审批流设置</a></li>
                        </ul>
                    </li>
                    <li class="t-item t-state-default"><span class="t-link"><img alt="image" class="t-image" src="/Administration/Content/images/ico-system.png" />帐号管理<span class="t-icon t-arrow-down"></span></span>
                        <ul class="t-group">
                            <li class="t-item t-state-default"><a class="t-link" href="#">帐号列表</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">组织结构</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">权限管理</a></li>
                        </ul>
                    </li>
                    <li class="t-item t-state-default"><a class="t-link" href="#"><img alt="image" class="t-image" src="/Administration/Content/images/ico-sales.png" />统计分析</a></li>
                    <li class="t-item t-state-default"><span class="t-link"><img alt="image" class="t-image" src="/Administration/Content/images/ico-help.png" />帮助<span class="t-icon t-arrow-down"></span></span>
                        <ul class="t-group">
                            <li class="t-item t-state-default"><a class="t-link" href="#">帮助导航</a></li>
                            <li class="t-item t-state-default"><a class="t-link" href="#">申请帮助</a></li>
                        </ul>
                    </li>
                    
                </ul>
            </div>
            <div class="status-bar">
                <div class="help">
                    Sunday, October 28, 2012 4:23 AM
                </div>
                <div class="breadcrumb">
                    <!-- SiteMapPath here-->
                </div>
            </div>
            <div class="clear">
            </div>


            <div class="content">
                <div class="cph">
                    <form action="#" method="post">
                    <div class="section-header">
                        <div class="title">
                            <img src="/Administration/Content/images/ico-customers.png" alt="" />
                            联系人
                        </div>
                        <div class="options">
                            <a href="ContactsAdd.htm" class="t-button">新建</a> <a href="#" class="t-button">Export to XML (all)</a>
                            <input type="button" id="exportxml-selected" class="t-button" value="Export to XML (selected)" />
                            <a href="#" class="t-button">Export to Excel (all)</a>
                            <input type="button" id="exportexcel-selected" class="t-button" value="Export to Excel (selected)" />
                        </div>
                    </div>
                    <table width="100%">
                        <tr>
                            <td class="adminTitle">
                                <img alt="Search by a first name." src="/Administration/Content/images/ico-help.gif" title="Search by a first name." /><label for="SearchFirstName" title="Search by a first name.">共享人</label>:
                            </td>
                            <td class="adminData">
                                <input class="text-box single-line" id="SearchFirstName" name="SearchFirstName" type="text" value="" />
                            </td>
                        </tr>
                        <tr>
                            <td class="adminTitle">
                                <img alt="Search by company." src="/Administration/Content/images/ico-help.gif" title="Search by keyword" /><label
                                    for="SearchCompany" title="Search by company.">关键字</label>:
                            </td>
                            <td class="adminData">
                                <input class="text-box single-line" id="SearchCompany" name="SearchCompany" type="text"
                                    value="" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <input type="button" id="search-customers" class="t-button" value="Search" />
                            </td>
                        </tr>
                    </table>
                    <p>
                    </p>
                    <table class="adminContent">
                        <tr>
                            <td>
                                <div class="t-widget t-grid" id="customers-grid">
                                    <div class="t-grid-pager t-grid-top">
                                        <div class="t-status">
                                            <a class="t-icon t-refresh" href="#">Refresh</a></div>
                                        <div class="t-pager t-reset">
                                            <a class="t-link t-state-disabled" href="#"><span class="t-icon t-arrow-first">first</span></a><a
                                                class="t-link t-state-disabled" href="#"><span class="t-icon t-arrow-prev">prev</span></a><div
                                                    class="t-numeric">
                                                    <span class="t-state-active">1</span></div>
                                            <a class="t-link t-state-disabled" href="#"><span class="t-icon t-arrow-next">next</span></a><a
                                                class="t-link t-state-disabled" href="#"><span class="t-icon t-arrow-last">last</span></a></div>
                                        <div class="t-status-text">
                                            Displaying items 1 - 4 of 4</div>
                                    </div>
                                    <table cellspacing="0">
                                        <colgroup>
                                            <col style="width: 50px" />
                                            <col style="width: 50px" />
                                            <col style="width: 150px" />
                                            <col style="width: 200px" />
                                            <col style="width: 200px" />
                                            <col style="width: 150px" />
                                            <col style="width: 100px" />
                                            <col style="width: 100px" />
                                            <col style="width: 100px" />
                                            <col style="width: 50px" />
                                        </colgroup>
                                        <thead class="t-grid-header">
                                            <tr>
                                                <th class="t-header" scope="col" style="text-align: center">
                                                    <span class="t-link">
                                                        <input id='mastercheckbox' type='checkbox' /></span>
                                                </th>
                                                <th class="t-header" scope="col">
                                                    <span class="t-link">Id</span>
                                                </th>
                                                <th class="t-header" scope="col">
                                                    <span class="t-link">姓名</span>
                                                </th>
                                                <th class="t-header" scope="col">
                                                    <span class="t-link">性别</span>
                                                </th>
                                                <th class="t-header" scope="col">
                                                    <span class="t-link">所属客户</span>
                                                </th>
                                                <th class="t-header" scope="col">
                                                    <span class="t-link">手机</span>
                                                </th>
                                                <th class="t-header" scope="col" style="text-align: center;">
                                                    <span class="t-link">办公电话</span>
                                                </th>
                                                <th class="t-header" scope="col">
                                                    <span class="t-link">EMAIL</span>
                                                </th>
                                                 <th class="t-header" scope="col">
                                                    <span class="t-link">MSN</span>
                                                </th> 
                                                <th class="t-header" scope="col">
                                                    <span class="t-link">QQ</span>
                                                </th>
                                                 <th class="t-header" scope="col">
                                                    <span class="t-link">部门</span>
                                                </th>
                                                <th class="t-header" scope="col">
                                                    <span class="t-link">职位</span>
                                                </th>
                                                <th class="t-header" scope="col" style="text-align: center;">
                                                    <span class="t-link">Edit</span>
                                                </th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td style="text-align: center">
                                                    <input type='checkbox' name='checkedRecords' value='46' class='checkboxGroups' />
                                                </td>
                                                <td>
                                                    46
                                                </td>
                                                <td>
                                                    <a href="#">suzanne_bond@gmail.com</a>
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    Registered
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td align="center">
                                                    true
                                                </td>
                                                <td>
                                                    3/18/2010 10:18:38 AM
                                                </td>
                                                <td>
                                                    3/18/2010 10:18:38 AM
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td align="center">
                                                    <a href="#">Edit</a>
                                                </td>
                                            </tr>
                                            <tr class="t-alt">
                                                <td style="text-align: center">
                                                    <input type='checkbox' name='checkedRecords' value='45' class='checkboxGroups' />
                                                </td>
                                                <td>
                                                    45
                                                </td>
                                                <td>
                                                    <a href="#">alex_smith@gmail.com</a>
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    Registered
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td align="center">
                                                    true
                                                </td>
                                                <td>
                                                    3/18/2010 10:06:41 AM
                                                </td>
                                                <td>
                                                    3/18/2010 10:06:41 AM
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td align="center">
                                                    <a href="#">Edit</a>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td style="text-align: center">
                                                    <input type='checkbox' name='checkedRecords' value='43' class='checkboxGroups' />
                                                </td>
                                                <td>
                                                    43
                                                </td>
                                                <td>
                                                    <a href="#">steve_gates@gmail.com</a>
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    Registered
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td align="center">
                                                    true
                                                </td>
                                                <td>
                                                    3/18/2010 9:52:52 AM
                                                </td>
                                                <td>
                                                    3/18/2010 9:52:52 AM
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td align="center">
                                                    <a href="#">Edit</a>
                                                </td>
                                            </tr>
                                            <tr class="t-alt">
                                                <td style="text-align: center">
                                                    <input type='checkbox' name='checkedRecords' value='37' class='checkboxGroups' />
                                                </td>
                                                <td>
                                                    37
                                                </td>
                                                <td>
                                                    <a href="#">admin@yourstore.com</a>
                                                </td>
                                                <td>
                                                    John Smith
                                                </td>
                                                <td>
                                                    Administrators, Forum Moderators, Registered
                                                </td>
                                                <td>
                                                    nopBSBMPCRM.com
                                                </td>
                                                <td align="center">
                                                    true
                                                </td>
                                                <td>
                                                    10/15/2008 4:46:41 AM
                                                </td>
                                                <td>
                                                    10/28/2012 6:08:04 AM
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td>
                                                    &nbsp;
                                                </td>
                                                <td align="center">
                                                    <a href="#7">Edit</a>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <div class="t-grid-pager t-grid-bottom">
                                        <div class="t-status">
                                            <a class="t-icon t-refresh" href="#">Refresh</a></div>
                                        <div class="t-pager t-reset">
                                            <a class="t-link t-state-disabled" href="#"><span class="t-icon t-arrow-first">first</span></a><a
                                                class="t-link t-state-disabled" href="#"><span class="t-icon t-arrow-prev">prev</span></a><div
                                                    class="t-numeric">
                                                    <span class="t-state-active">1</span></div>
                                            <a class="t-link t-state-disabled" href="#"><span class="t-icon t-arrow-next">next</span></a><a
                                                class="t-link t-state-disabled" href="#"><span class="t-icon t-arrow-last">last</span></a></div>
                                        <div class="t-status-text">
                                            Displaying items 1 - 4 of 4</div>
                                    </div>
                                </div>
                            </td>
                        </tr>
                    </table>
                    <script type="text/javascript">

                        var selectedIds = [];

                        $(document).ready(function () {

                            //search button
                            $('#search-customers').click(function () {
                                var grid = $('#customers-grid').data('tGrid');
                                grid.currentPage = 1; //new search. Set page size to 1
                                grid.ajaxRequest();
                                return false;
                            });

                            $("#SearchEmail").keydown(function (event) {
                                if (event.keyCode == 13) {
                                    $("#search-customers").click();
                                    return false;
                                }
                            });
                            $("#SearchUsername").keydown(function (event) {
                                if (event.keyCode == 13) {
                                    $("#search-customers").click();
                                    return false;
                                }
                            });
                            $("#SearchFirstName").keydown(function (event) {
                                if (event.keyCode == 13) {
                                    $("#search-customers").click();
                                    return false;
                                }
                            });
                            $("#SearchLastName").keydown(function (event) {
                                if (event.keyCode == 13) {
                                    $("#search-customers").click();
                                    return false;
                                }
                            });
                            $("#SearchCompany").keydown(function (event) {
                                if (event.keyCode == 13) {
                                    $("#search-customers").click();
                                    return false;
                                }
                            });
                            $("#SearchPhone").keydown(function (event) {
                                if (event.keyCode == 13) {
                                    $("#search-customers").click();
                                    return false;
                                }
                            });
                            $("#SearchZipPostalCode").keydown(function (event) {
                                if (event.keyCode == 13) {
                                    $("#search-customers").click();
                                    return false;
                                }
                            });

                            //"Export Excel selected" button
                            $('#exportexcel-selected').click(function (e) {
                                e.preventDefault();
                                //redirect to required URL
                                setLocation('/Admin/Customer/ExportExcelSelected?selectedIds=' + selectedIds.join(","));
                                return false;
                            });

                            //"Export XML selected" button
                            $('#exportxml-selected').click(function (e) {
                                e.preventDefault();
                                //redirect to required URL
                                setLocation('/Admin/Customer/ExportXmlSelected?selectedIds=' + selectedIds.join(","));
                                return false;
                            });

                            $('#mastercheckbox').click(function () {
                                $('.checkboxGroups').attr('checked', $(this).is(':checked')).change();
                            });

                            //wire up checkboxes. 
                            $('#customers-grid input[type=checkbox][id!=mastercheckbox]').live('change', function (e) {
                                var $check = $(this);
                                if ($check.is(":checked") == true) {
                                    var checked = jQuery.inArray($check.val(), selectedIds);
                                    if (checked == -1) {
                                        //add id to selectedIds.  
                                        selectedIds.push($check.val());
                                    }
                                }
                                else {
                                    var checked = jQuery.inArray($check.val(), selectedIds);
                                    if (checked > -1) {
                                        //remove id from selectedIds.  
                                        selectedIds = $.grep(selectedIds, function (item, index) {
                                            return item != $check.val();
                                        });
                                    }
                                }
                                updateMasterCheckbox();
                            });
                        });

                        function onDataBound(e) {

                            $('#customers-grid input[type=checkbox][id!=mastercheckbox]').each(function () {
                                var currentId = $(this).val();
                                var checked = jQuery.inArray(currentId, selectedIds);
                                //set checked based on if current checkbox's value is in selectedIds.  
                                $(this).attr('checked', checked > -1);
                            });

                            updateMasterCheckbox();
                        }

                        function updateMasterCheckbox() {
                            var numChkBoxes = $('#customers-grid input[type=checkbox][id!=mastercheckbox]').length;
                            var numChkBoxesChecked = $('#customers-grid input[type=checkbox][checked][id!=mastercheckbox]').length;
                            $('#mastercheckbox').attr('checked', numChkBoxes == numChkBoxesChecked && numChkBoxes > 0);
                        }

                        function onDataBinding(e) {
                            var customerRoleIds = [];
                            $('[name=SearchCustomerRoleIds]:checked').each(function () {
                                customerRoleIds.push($(this).val());
                            });

                            var searchModel = {
                                SearchCustomerRoleIds: customerRoleIds.join(","),
                                SearchEmail: $('#SearchEmail').val(),
                                SearchUsername: $('#SearchUsername').val(),
                                SearchFirstName: $('#SearchFirstName').val(),
                                SearchLastName: $('#SearchLastName').val(),
                                SearchDayOfBirth: $('#SearchDayOfBirth').val(),
                                SearchMonthOfBirth: $('#SearchMonthOfBirth').val(),
                                SearchCompany: $('#SearchCompany').val(),
                                SearchPhone: $('#SearchPhone').val(),
                                SearchZipPostalCode: $('#SearchZipPostalCode').val()
                            };
                            e.data = searchModel;
                        }
                    </script>
                    </form>
                </div>
            </div>


            <div class="throbber">
                <div class="curtain">
                </div>
                <div class="curtain-content">
                    <div>
                        <h1 class="throbber-header">
                            Wait...</h1>
                        <p>
                            <img src="/administration/content/images/throbber-synchronizing.gif" alt="" />
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--These need to be at the end of the page to ensure that all the controls requiring scripts have been rendered-->
    <link type="text/css" href="/Content/2012.1.214/telerik.common.min.css" rel="stylesheet" />
    <link type="text/css" href="/Content/2012.1.214/telerik.vista.min.css" rel="stylesheet" />
    <link type="text/css" href="/Content/2012.1.214/telerik.rtl.min.css" rel="stylesheet" />
    <script type="text/javascript" src="/Scripts/2012.1.214/telerik.common.min.js"></script>
    <script type="text/javascript" src="/Scripts/2012.1.214/telerik.textbox.min.js"></script>
    <script type="text/javascript" src="/Scripts/2012.1.214/telerik.calendar.min.js"></script>
    <script type="text/javascript" src="/Scripts/2012.1.214/telerik.datepicker.min.js"></script>
    <script type="text/javascript" src="/Scripts/2012.1.214/telerik.grid.min.js"></script>
    <script type="text/javascript" src="/Scripts/2012.1.214/telerik.menu.min.js"></script>
    <script type="text/javascript">
//<![CDATA[
        jQuery(document).ready(function () {
            jQuery('#customers-grid').tGrid({ columns: [{ "attr": " style=\"text-align:center\"", "title": "\u003cinput id=\u0027mastercheckbox\u0027 type=\u0027checkbox\u0027/\u003e", "template": "\u003cinput type=\u0027checkbox\u0027 name=\u0027checkedRecords\u0027 value=\u0027\u003c#= Id #\u003e\u0027 class=\u0027checkboxGroups\u0027/\u003e", "member": "Id", "type": "Number" }, { "title": "Id", "member": "Id", "type": "Number" }, { "title": "Email", "template": "\u003ca href=\"/Admin/Customer/Edit/\u003c#= Id #\u003e\"\u003e\u003c#= Email #\u003e\u003c/a\u003e", "member": "Email", "type": "String" }, { "title": "Name", "member": "FullName", "type": "String" }, { "title": "Customer roles", "member": "CustomerRoleNames", "type": "String" }, { "title": "Company name", "member": "Company", "type": "String" }, { "attr": " align=\"center\"", "title": "Active", "member": "Active", "type": "Boolean" }, { "title": "Created on", "member": "CreatedOn", "type": "Date" }, { "title": "Last activity", "member": "LastActivityDate", "type": "Date" }, { "attr": " align=\"center\"", "title": "Edit", "template": "\u003ca href=\"Edit/\u003c#= Id #\u003e\"\u003eEdit\u003c/a\u003e", "member": "Id", "type": "Number"}], pageSize: 15, total: 4, currentPage: 1, pageSizesInDropDown: ["5", "10", "20", "50"], pageOnScroll: false, ajax: { "selectUrl": "/Admin/Customer/CustomerList?customers-grid-size=15" }, onDataBinding: onDataBinding, onDataBound: onDataBound, noRecordsTemplate: 'No records to display.' });
            jQuery('#Admin').tMenu();
        });
//]]>
    </script>
</body>
</html>
